package com.ruibang.glass.material.domain.req;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @program: glass
 * @description: 解绑请求信息
 * @author: wujie
 * @create: 2024-03-26 15:29
 */
@Data
public class UnbindReq {
    @ApiModelProperty(value = "容器批次ID")
    private String lotId;

    @ApiModelProperty(value = "解绑时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime unbindTime;

    @ApiModelProperty(value = "是否品质解绑(0:普通解绑，1:品质解绑)")
    private String isUnbindQuality;

    @ApiModelProperty(value = "解绑人")
    private String unbindUser;

    private List<String> glassCodes;

    private List<Integer> serialNumbers;

    private String batchNumber;

    private String unbindRemark;
}
